---
title: Solid integration
sidebar:
  label: Solid
description: How to integrate LiveStore with Solid.
---

import { Code } from '@astrojs/starlight/components';
import solidStoreCode from '../../../../../../examples/standalone/web-todomvc-solid/src/livestore/store.tsx?raw'
import solidMainSectionCode from '../../../../../../examples/standalone/web-todomvc-solid/src/components/MainSection.tsx?raw'

## Example

See [examples](/examples) for a complete example.

<Code lang="ts" title="src/livestore/store.tsx" code={solidStoreCode} />

<Code lang="ts" title="src/components/MainSection.tsx" code={solidMainSectionCode} />

